//
//  AboHeader.h
//  EyuGameSDK
//
//  Created by 李长春 on 2022/5/12.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface AboHeader : NSObject

/*----------------------初始化参数-----------------------*/

//设备
@property(nonatomic,strong) NSString  *idfa;
@property(nonatomic,strong) NSString  *uuid;
@property(nonatomic,strong) NSString  *deviceUA;
//广告参数
@property(nonatomic,copy) NSString *idstoken;
@property(nonatomic,copy) NSDictionary *adccollect;
//本机语言  游戏内可以切换语言 会执行登录 所以在登录前刷新值
//调用初始化方法传入 为nil则使用本地语言
@property(nonatomic,strong) NSString  *iphoneLanguage;

//SDK核心参数集合
@property(nonatomic,copy) NSDictionary *CorePackageDic;
@property(nonatomic,copy) NSDictionary *CoreDeviceDic;
@property(nonatomic,copy) NSDictionary *CoreAsaTokenDic;

@property(nonatomic,assign) BOOL  kIsNeedMaxAd;

/*----------------------配置个性化参数-----------------------*/
@property(nonatomic,strong) NSString  *Bo_version;
@property(nonatomic,strong) NSNumber  *Bo_pid;
@property(nonatomic,strong) NSNumber  *Bo_cid;
@property(nonatomic,strong) NSNumber  *Bo_gameid;
@property(nonatomic,strong) NSNumber  *Bo_pageageId;
@property(nonatomic,strong) NSString  *Bo_channel;
@property(nonatomic,strong) NSString  *kAppsFlyerDKey;
@property(nonatomic,strong) NSString  *kStoreForAppID;
@property(nonatomic,strong) NSString  *kBuglyAppID;

@property(nonatomic,strong) NSString  *kAppLovinKey;
@property(nonatomic,strong) NSString  *kREWARD_AdPlacement; //激励
@property(nonatomic,strong) NSString  *kREWARD_AdUnitID;
@property(nonatomic,strong) NSString  *kINTERSTITIAL_AdPlacement; //插屏
@property(nonatomic,strong) NSString  *kINTERSTITIAL_AdUnitID;
@property(nonatomic,strong) NSString  *kBANNER_AdPlacement; //横幅
@property(nonatomic,strong) NSString  *kBANNER_AdUnitID;

@property(nonatomic,strong) NSString  *Bo_bundleID;

/*------------------------初始化结果-------------------------*/

//是否已经成功初始化
@property(nonatomic,assign) BOOL isSuccessSDKinit;
//初始化成功获得
@property(nonatomic,strong) NSString  *kProtocol;
@property(nonatomic,strong) NSString  *kPrivacy;
@property(nonatomic,assign) BOOL  kPackageStar;
@property(nonatomic,assign) BOOL  kOpenFaqs; //是否开启 游戏指南 初始化返回
@property(nonatomic,strong) NSDictionary  *kTotalLoginDays;

//是否已经触发了初始化操作 避免重复初始化
@property(nonatomic,assign)BOOL isAppAction;

/*------------------------APPflyer-------------------------*/

//APPflyer 代理获取的tag  登录时传入服务端
@property(nonatomic,copy) NSDictionary *AppFlyerTagDit;
//appsflyerid
@property(nonatomic,strong) NSString  *kappsflyerid;


/*------------------------登录-------------------------*/

//初始化时从本地获取  登录成功后覆盖值
@property(nonatomic,strong) NSNumber *UserUid;
@property(nonatomic,assign)BOOL IsLoginSuccess;

/*------------------------支付-------------------------*/

//是否已经在支付
@property(nonatomic,assign) BOOL  isExecuted;
//下单接口获得  是否上报 结果为1则上报 pay_report 生成订单上报  notify_report支付完成上报
//用于判断 是否此次已经保存了 是否在支付完成后上报的设置 避免频繁保存
@property(nonatomic,assign) BOOL  kSavePayLogOpen;
@property(nonatomic,strong) NSNumber *OrderReport;
@property(nonatomic,strong) NSNumber *PaySuccessReport;
//规避重复下单
@property(nonatomic,copy) NSString *PreviousCPorderID;
@property(nonatomic,copy) NSString *PreviousSDKorderID;


/*------------------------个人中心-------------------------*/

//进入个人中心获取参数 每次进入刷新
@property(nonatomic,copy) NSString  *kRoleID;
@property(nonatomic,copy) NSString  *kRoleName;
@property(nonatomic,copy) NSString  *kServerID;



#pragma mark - 实例方法
+(instancetype)sharedInstance;


@end


NS_ASSUME_NONNULL_END
